import request from '@/utils/request'

export function modify(id) {
  return request({
    url: '/salarys/modify/' + id,
    data: {
      userId: id
    }
  })
    .then(res => res.data.data)
    .catch(() => [])
}
